package com.pig4cloud.pigx.admin.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pig4cloud.pigx.admin.api.entity.OverallRegimenStation;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @ClassName RegimenStationVo
 * @Description 水情站点信息返回对象
 * @Version 1.0
 **/
@Data
public class RegimenStationVo extends OverallRegimenStation {

    /**
     * 水位
     */
    @Schema(description = "水位")
    private Double waterLevel;

    /**
     * 流量
     */
    @Schema(description = "流量")
    private Double flow;

    /**
     * 时间
     */
    @Schema(description = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime time;
}
